﻿using IBll;
using IDal;
using Model;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bll
{
    /// <summary>
    /// /继承 理疗分类 接口方法
    /// </summary>
    public class SosConeTypeBll : ISosConeTypebll
    {

        /// <summary>
        /// /实现方法
        /// </summary>
        /// <param name="baserD"></param>
         public SosConeTypeBll(IBaserDal<SosConeType> baserD)
        {
            BaserD = baserD;
        }

        public IBaserDal<SosConeType> BaserD { get; }

        /// <summary>
        /// /绑定理疗分类下拉框
        /// </summary>
        /// <returns>返回值受影响行数</returns>
        public List<SosConeType> sosConeTypes()
        {
             return BaserD.GetValues().ToList();
        }
    }
}
